package com.liao.myblog.service;

import com.github.pagehelper.PageInfo;
import com.liao.myblog.pojo.Comment;

import java.util.List;

public interface CommentService {

    List<Comment> queryCommentByBlogId(int blogId);

    int checkComment(int[] ids);

    int deleteComment(int[] ids);

    int replyComment(Comment comment);

    PageInfo<Comment> queryCommentList(int limit, int page);

    int queryCommentCount();

    int queryCommentCountByBlogId(int blogId);

    List<Comment> queryCommentByPage(int limit,int offset,int id);

    int addComment(Comment comment);

}
